import { IDECtrlAbility, IParam } from '../..';

/**
 * 选择视图面板部件能力接口
 *
 * @export
 * @interface IPickupViewPanelAbility
 * @extends {IDECtrlAbility}
 */
export interface IPickupViewPanelAbility extends IDECtrlAbility {
	/**
	 * 选中全部
	 *
	 * @memberof IPickupViewPanelAbility
	 */
	selectAll(): void;

	/**
	 * 选中数据
	 *
	 * @param {IParam[]} items 需要选中的数据
	 * @param {boolean} [reverse] 是否反选
	 * @memberof IPickupViewPanelAbility
	 */
	selectItems(items: IParam[], reverse?: boolean): void;
}
